package com.bootdo.quota.service.impl;

import com.bootdo.quota.domain.QuotaHistoryDO;
import com.bootdo.quota.service.QuotaHistoryService;
import com.bootdo.quota.dao.QuotaHistoryDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class QuotaHistoryServiceImpl implements QuotaHistoryService {
	@Autowired
	private QuotaHistoryDao quotaHistoryDao;
	
	@Override
	public QuotaHistoryDO get(Long id){
		return quotaHistoryDao.get(id);
	}
	
	@Override
	public List<QuotaHistoryDO> list(Map<String, Object> map){
		return quotaHistoryDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return quotaHistoryDao.count(map);
	}
	
	@Override
	public int save(QuotaHistoryDO quotaHistory){
		return quotaHistoryDao.save(quotaHistory);
	}
	
	@Override
	public int update(QuotaHistoryDO quotaHistory){
		return quotaHistoryDao.update(quotaHistory);
	}
	
	@Override
	public int remove(Long id){
		return quotaHistoryDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return quotaHistoryDao.batchRemove(ids);
	}
	
}
